/*
 * Copyright (c) 2018-2025, duneng All rights reserved.
 *
 * Author: wangsj (wsjlb4131214@126.com)
 */
/* eslint-disable */

import request from '@/router/axios'

export function fetchList(query) {
    return request({
        url: '/admin/log/logPage',
        method: 'get',
        params: query
    })
}

export function delObj(id) {
    return request({
        url: '/admin/log/' + id,
        method: 'delete'
    })
}

export function addObj(obj) {
    return request({
        url: '/admin/user/',
        method: 'post',
        data: obj
    })
}

export function getObj(id) {
    return request({
        url: '/admin/user/' + id,
        method: 'get'
    })
}

export function putObj(obj) {
    return request({
        url: '/admin/user/',
        method: 'put',
        data: obj
    })
}